package com.gxa.modules.mapper;

import com.gxa.common.vo.ResultVo;
import com.gxa.modules.pojo.Employee;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface EmployeeMapper {
//        查询员工和总数量
        List<Map> queryEmployee(Integer parma1, Integer parma2);
        Integer findCount();
//         添加员工
        Integer addEmployee(Employee employee);
//          删除员工根据员工账户
        Integer delEmployee(@Param("employee_numbers") List<Integer> employee_numbers);
//          员工账号搜索和搜索数据总数searchEmployee
        List<Employee> searchEmployee(@Param("page") Integer page,@Param("size")Integer size,@Param("search") String search);
        Integer findCountSearch(@Param("search")String search);
}
